package com.pizzashop.factory.method;

import java.util.ArrayList;
import java.util.List;

import com.pizzashop.abs.ingredient.Cheese;
import com.pizzashop.abs.ingredient.Clams;
import com.pizzashop.abs.ingredient.Dough;
import com.pizzashop.abs.ingredient.Pepperoni;
import com.pizzashop.abs.ingredient.Sauce;
import com.pizzashop.abs.ingredient.Veggies;

public abstract class Pizza {
	
	String name;
	String dough;
	String sauce;
	List<String> toppings = new ArrayList<>();
	
	public void prepare() {
		System.out.println("Preparing " + name);
		System.out.println("Tossing dough... " + dough);
		System.out.println("Adding sauce... " + sauce);
		System.out.println("Adding toppings: ");
		for(String topping : toppings) {
			System.out.println(" " + topping);
		}
	}
	public void bake() {
		System.out.println("Bake for 25 minutes at 350");
	}
	public void cut() {
		System.out.println("Cutting the pizza into diagonal slices");
	}
	public void box() {
		System.out.println("Place pizza in official PizzaStore box");
	}
	
	public String getName() {
		return name;
	}

}
